//
//  ZJCycleImageFlowLayout.m
//  CycleImageScrollDemo
//
//  Created by 郑佳 on 16/6/15.
//  Copyright © 2016年 Triangle. All rights reserved.
//

#import "ZJCycleImageFlowLayout.h"

@implementation ZJCycleImageFlowLayout

/** 准备布局时调用 */
- (void)prepareLayout{
    
    [super prepareLayout];
    
    self.itemSize = self.collectionView.frame.size;

    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;// 水平
    self.collectionView.pagingEnabled = YES;
    self.minimumInteritemSpacing = 0;
    self.minimumLineSpacing = 0;
    
    self.collectionView.showsHorizontalScrollIndicator = NO;
}
@end
